﻿#include <memory>
#include "SL_tcpServer.h"
// #ifdef WIN32
// #include "SL_tcpServer_event_impl.h"
// #else
// #include "SL_tcpServer_epoll_impl.h"
// #endif

#include "SL_tcpServer_event_impl.h"

SLT_API SLTcpServerStpr sl_createTcpServer()
{
	SLF_init(3);
// #ifdef WIN32
// 	SLTcpServerEventImplSPtr pser = std::make_shared<SLTcpServerEventImpl>();
// #else
// 	SLTcpServerEpollImplSPtr pser = std::make_shared<SLTcpServerEpollImpl>();
// #endif
	SLTcpServerEventImplSPtr pser = std::make_shared<SLTcpServerEventImpl>();
	return pser;
}